<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SMTC Modem API: Event codes definitions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SMTC Modem API
   </div>
   <div id="projectbrief">Generic Modem API description</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Event codes definitions</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga1681310da768c346d46ae2104805a98d"><td class="memItemLeft" align="right" valign="top"><a id="ga1681310da768c346d46ae2104805a98d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga1681310da768c346d46ae2104805a98d">SMTC_MODEM_EVENT_RESET</a>&#160;&#160;&#160;0x00</td></tr>
<tr class="memdesc:ga1681310da768c346d46ae2104805a98d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modem has been reset. <br /></td></tr>
<tr class="separator:ga1681310da768c346d46ae2104805a98d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49257a4e251f98e9541e741fc612191b"><td class="memItemLeft" align="right" valign="top"><a id="ga49257a4e251f98e9541e741fc612191b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga49257a4e251f98e9541e741fc612191b">SMTC_MODEM_EVENT_ALARM</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:ga49257a4e251f98e9541e741fc612191b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alarm timer expired. <br /></td></tr>
<tr class="separator:ga49257a4e251f98e9541e741fc612191b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga849128c157d6793a3c256a2436a9b22c"><td class="memItemLeft" align="right" valign="top"><a id="ga849128c157d6793a3c256a2436a9b22c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga849128c157d6793a3c256a2436a9b22c">SMTC_MODEM_EVENT_JOINED</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:ga849128c157d6793a3c256a2436a9b22c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Network successfully joined. <br /></td></tr>
<tr class="separator:ga849128c157d6793a3c256a2436a9b22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1c64598270d2f217b7f1d5e54ce6885"><td class="memItemLeft" align="right" valign="top"><a id="gab1c64598270d2f217b7f1d5e54ce6885"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#gab1c64598270d2f217b7f1d5e54ce6885">SMTC_MODEM_EVENT_TXDONE</a>&#160;&#160;&#160;0x03</td></tr>
<tr class="memdesc:gab1c64598270d2f217b7f1d5e54ce6885"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frame transmitted. <br /></td></tr>
<tr class="separator:gab1c64598270d2f217b7f1d5e54ce6885"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga477de3f4721d288163e32c8ed4409def"><td class="memItemLeft" align="right" valign="top"><a id="ga477de3f4721d288163e32c8ed4409def"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga477de3f4721d288163e32c8ed4409def">SMTC_MODEM_EVENT_DOWNDATA</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:ga477de3f4721d288163e32c8ed4409def"><td class="mdescLeft">&#160;</td><td class="mdescRight">Downlink data received. <br /></td></tr>
<tr class="separator:ga477de3f4721d288163e32c8ed4409def"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb8121494c5f09c3ca4bf6f52a4f09b7"><td class="memItemLeft" align="right" valign="top"><a id="gacb8121494c5f09c3ca4bf6f52a4f09b7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#gacb8121494c5f09c3ca4bf6f52a4f09b7">SMTC_MODEM_EVENT_FILEDONE</a>&#160;&#160;&#160;0x05</td></tr>
<tr class="memdesc:gacb8121494c5f09c3ca4bf6f52a4f09b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">File upload completed. <br /></td></tr>
<tr class="separator:gacb8121494c5f09c3ca4bf6f52a4f09b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7af3a19d637d90b4bf916adaa54eff4e"><td class="memItemLeft" align="right" valign="top"><a id="ga7af3a19d637d90b4bf916adaa54eff4e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga7af3a19d637d90b4bf916adaa54eff4e">SMTC_MODEM_EVENT_SETCONF</a>&#160;&#160;&#160;0x06</td></tr>
<tr class="memdesc:ga7af3a19d637d90b4bf916adaa54eff4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration has been changed by the Device Management. <br /></td></tr>
<tr class="separator:ga7af3a19d637d90b4bf916adaa54eff4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1616c6532e60371392e30d4e7e61758f"><td class="memItemLeft" align="right" valign="top"><a id="ga1616c6532e60371392e30d4e7e61758f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga1616c6532e60371392e30d4e7e61758f">SMTC_MODEM_EVENT_MUTE</a>&#160;&#160;&#160;0x07</td></tr>
<tr class="memdesc:ga1616c6532e60371392e30d4e7e61758f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modem has been muted or un-muted by the Device Management. <br /></td></tr>
<tr class="separator:ga1616c6532e60371392e30d4e7e61758f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e4c78e5c929d50e51e86d4a7febbe17"><td class="memItemLeft" align="right" valign="top"><a id="ga7e4c78e5c929d50e51e86d4a7febbe17"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga7e4c78e5c929d50e51e86d4a7febbe17">SMTC_MODEM_EVENT_STREAMDONE</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:ga7e4c78e5c929d50e51e86d4a7febbe17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stream upload completed (stream data buffer depleted) <br /></td></tr>
<tr class="separator:ga7e4c78e5c929d50e51e86d4a7febbe17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6528d555f99a654260aec718991f5ce"><td class="memItemLeft" align="right" valign="top"><a id="gaf6528d555f99a654260aec718991f5ce"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#gaf6528d555f99a654260aec718991f5ce">SMTC_MODEM_EVENT_LINKSTATUS</a>&#160;&#160;&#160;0x09</td></tr>
<tr class="memdesc:gaf6528d555f99a654260aec718991f5ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Network connectivity status changed. <br /></td></tr>
<tr class="separator:gaf6528d555f99a654260aec718991f5ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga994a0593bb70bbdf7d556d34401528c2"><td class="memItemLeft" align="right" valign="top"><a id="ga994a0593bb70bbdf7d556d34401528c2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga994a0593bb70bbdf7d556d34401528c2">SMTC_MODEM_EVENT_JOINFAIL</a>&#160;&#160;&#160;0x0A</td></tr>
<tr class="memdesc:ga994a0593bb70bbdf7d556d34401528c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to join network failed. <br /></td></tr>
<tr class="separator:ga994a0593bb70bbdf7d556d34401528c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96bb55bd72c8afa8075e47a7ab12f2d4"><td class="memItemLeft" align="right" valign="top"><a id="ga96bb55bd72c8afa8075e47a7ab12f2d4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga96bb55bd72c8afa8075e47a7ab12f2d4">SMTC_MODEM_EVENT_WIFI</a>&#160;&#160;&#160;0x0B</td></tr>
<tr class="memdesc:ga96bb55bd72c8afa8075e47a7ab12f2d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wi-Fi scan done. <br /></td></tr>
<tr class="separator:ga96bb55bd72c8afa8075e47a7ab12f2d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bedcaf2812519a7a7824e3e7291a0a7"><td class="memItemLeft" align="right" valign="top"><a id="ga2bedcaf2812519a7a7824e3e7291a0a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga2bedcaf2812519a7a7824e3e7291a0a7">SMTC_MODEM_EVENT_GNSS</a>&#160;&#160;&#160;0x0C</td></tr>
<tr class="memdesc:ga2bedcaf2812519a7a7824e3e7291a0a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">GNSS scan done. <br /></td></tr>
<tr class="separator:ga2bedcaf2812519a7a7824e3e7291a0a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ed76fc85e0beb904975d2f8852c01bf"><td class="memItemLeft" align="right" valign="top"><a id="ga6ed76fc85e0beb904975d2f8852c01bf"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga6ed76fc85e0beb904975d2f8852c01bf">SMTC_MODEM_EVENT_TIME_UPDATED</a>&#160;&#160;&#160;0x0D</td></tr>
<tr class="memdesc:ga6ed76fc85e0beb904975d2f8852c01bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time has been updated by Alcsync. <br /></td></tr>
<tr class="separator:ga6ed76fc85e0beb904975d2f8852c01bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb3745961f8e511f8f802ed5757b119d"><td class="memItemLeft" align="right" valign="top"><a id="gadb3745961f8e511f8f802ed5757b119d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#gadb3745961f8e511f8f802ed5757b119d">SMTC_MODEM_EVENT_TIMEOUT_ADR_CHANGED</a>&#160;&#160;&#160;0x0E</td></tr>
<tr class="memdesc:gadb3745961f8e511f8f802ed5757b119d"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADR profile was switched to network controlled. <br /></td></tr>
<tr class="separator:gadb3745961f8e511f8f802ed5757b119d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa848c33605512940619ddd6bddaddc1e"><td class="memItemLeft" align="right" valign="top"><a id="gaa848c33605512940619ddd6bddaddc1e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#gaa848c33605512940619ddd6bddaddc1e">SMTC_MODEM_EVENT_NEW_LINK_ADR</a>&#160;&#160;&#160;0x0F</td></tr>
<tr class="memdesc:gaa848c33605512940619ddd6bddaddc1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">New link ADR requested by network. <br /></td></tr>
<tr class="separator:gaa848c33605512940619ddd6bddaddc1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga965cba0c23d4bdb9c6071f0fa84094a9"><td class="memItemLeft" align="right" valign="top"><a id="ga965cba0c23d4bdb9c6071f0fa84094a9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SMTC__MODEM__EVENT__DEF.html#ga965cba0c23d4bdb9c6071f0fa84094a9">SMTC_MODEM_NO_EVENT</a>&#160;&#160;&#160;0xFF</td></tr>
<tr class="memdesc:ga965cba0c23d4bdb9c6071f0fa84094a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">No event available. <br /></td></tr>
<tr class="separator:ga965cba0c23d4bdb9c6071f0fa84094a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
